from selenium import webdriver
import time
mobileEmulaton = {'deviceName':'Galaxy Fold'}
options = webdriver.ChromeOptions()
options.add_experimental_option('mobileEmulation',mobileEmulaton)
driver = webdriver.Chrome(options=options)
driver.get('http://www.baidu.com')
time.sleep(4)
driver.quit()